package filters;

import java.io.File;
import java.util.TreeSet;

public interface Filter {

	/**
	 * 
	 * @param global The file set to filter
	 * @param parameter A filter parameter. See filters section.
	 * @return A TreeSet object containing only the files that matched the given filter
	 * @throws InvalidFilterParameterException
	 */
	public TreeSet<File> filter(TreeSet<File> global,String parameter) throws InvalidFilterParameterException;
}
